package com.minshenglife.zanzan.result;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

/**
 * 评论查询结果
 * @author Huodd
 * @date 2014.02.14
 */
public class ReviewResult {

	private String criticsId;
	private String criticsName;
	private String criticsWXCode;
	private String criticsHeadImgUrl;
	private String byCriticsId;
	private String byCriticsName;
	private String byCriticsWXCode;
	private String byCriticsHeadImgUrl;
	private String reviewPic;
	private String reviewType;
	private String reviewContent;
	private Date create_time;
	private String contentType;
	private Date  end_time;
	private Date operate_time;
	/**评论人类型：实名：匿名*/
	private String criticsType;
	
	private String create_timeStr;
	
	public String getCriticsId() {
		return criticsId;
	}
	public void setCriticsId(String criticsId) {
		this.criticsId = criticsId;
	}
	public String getByCriticsId() {
		return byCriticsId;
	}
	public void setByCriticsId(String byCriticsId) {
		this.byCriticsId = byCriticsId;
	}
	public String getReviewPic() {
		return reviewPic;
	}
	public void setReviewPic(String reviewPic) {
		this.reviewPic = reviewPic;
	}
	public String getReviewType() {
		return reviewType;
	}
	public void setReviewType(String reviewType) {
		this.reviewType = reviewType;
	}
	public String getReviewContent() {
		return reviewContent;
	}
	public void setReviewContent(String reviewContent) {
		this.reviewContent = reviewContent;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getEnd_time() {
		return end_time;
	}
	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}
	public Date getOperate_time() {
		return operate_time;
	}
	public void setOperate_time(Date operate_time) {
		this.operate_time = operate_time;
	}
	public String getCriticsName() {
		return criticsName;
	}
	public void setCriticsName(String criticsName) {
		this.criticsName = criticsName;
	}
	public String getCriticsWXCode() {
		return criticsWXCode;
	}
	public void setCriticsWXCode(String criticsWXCode) {
		this.criticsWXCode = criticsWXCode;
	}
	public String getByCriticsName() {
		return byCriticsName;
	}
	public void setByCriticsName(String byCriticsName) {
		this.byCriticsName = byCriticsName;
	}
	public String getByCriticsWXCode() {
		return byCriticsWXCode;
	}
	public void setByCriticsWXCode(String byCriticsWXCode) {
		this.byCriticsWXCode = byCriticsWXCode;
	}
	public String getCreate_timeStr() {
		if(create_timeStr==null){
			create_timeStr=new SimpleDateFormat("MM月dd日 HH:mm").format(create_time);
		}
		return create_timeStr;
	}
	public void setCreate_timeStr(String create_timeStr) {
		this.create_timeStr = create_timeStr;
	}
	public String getCriticsHeadImgUrl() {
		return criticsHeadImgUrl;
	}
	public void setCriticsHeadImgUrl(String criticsHeadImgUrl) {
		this.criticsHeadImgUrl = criticsHeadImgUrl;
	}
	public String getByCriticsHeadImgUrl() {
		return byCriticsHeadImgUrl;
	}
	public void setByCriticsHeadImgUrl(String byCriticsHeadImgUrl) {
		this.byCriticsHeadImgUrl = byCriticsHeadImgUrl;
	}
	public String getCriticsType() {
		return criticsType;
	}
	public void setCriticsType(String criticsType) {
		this.criticsType = criticsType;
	}
	
	public static void main(String[] sadf){
		Calendar c=Calendar.getInstance();
		c.add(Calendar.HOUR, 4);
		//HH:24 hh:21
		System.out.println(new SimpleDateFormat("MM月dd日 HH:mm").format(c.getTime()));
	}
	
	
}
